package com.dingreading.cloud.mall.service.impl;

import com.dingreading.cloud.mall.entity.table.GoodsCategoryLogTableDef;
import com.dingreading.cloud.mall.entity.GoodsCategoryLog;
import com.dingreading.cloud.mall.mapper.GoodsCategoryLogMapper;
import com.dingreading.cloud.mall.service.GoodsCategoryLogService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *  服务层实现。
 *
 * @author Administrator
 * @since 2025-11-07
 */
@Service
public class GoodsCategoryLogServiceImpl extends BaseServiceImpl<GoodsCategoryLogMapper, GoodsCategoryLog, GoodsCategoryLogTableDef> implements GoodsCategoryLogService {


    @Override
    protected GoodsCategoryLogTableDef getTable() {
        return GoodsCategoryLogTableDef.goodsCategoryLog;
    }

    @Override
    public List<GoodsCategoryLog> listByGoodsIdIn(List<Long> goodsIdList) {
        return getMapper().selectListByCondition(table.goodsId.in(goodsIdList));
    }

}
